import request from '@/utils/request'

//成果分页列表 - 管理员
export function queryPageList(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/queryPageList',
		headers: {
			userButton: '601c9aefb09f413a9ae025149d952274'
		},
		data
	})
}

//成果分页列表 - 用户
export function queryUserPageList(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/queryUserPageList',
		headers: {
			userButton: 'd752cb06d4e34374b38f6574888ce007'
		},
		data
	})
}

//成果审核列表 - PI审核员
export function queryAuditPageList(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/queryAuditPageList',
		headers: {
			userButton: 'accbf3fb927440feb7449422c7d1edeb'
		},
		data
	})
}

//添加成果
export function addedMarvel(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/add',
		headers: {
			userButton: 'ec854d2ad50a47ffbb61dec5879ff892'
		},
		data
	})
}

//批量添加成果
export function batchAddedMarvel(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/addBatch',
		headers: {
			userButton: 'ec854d2ad50a47ffbb61dec5879ff892'
		},
		data
	})
}

//删除成果
export function batchDeleteData(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/batchDelete',
		headers: {
			userButton: '4853ba8c62a44e00ad52a9f79d71ca14'
		},
		data
	})
}

//修改成果
export function updateMarvel(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/update',
		headers: {
			userButton: '7936af7d326643e0972b1ec007d0cea5'
		},
		data,
	})
}

//成果详情
export function marvelDetail(id) {
	return request({
		method: 'get',
		url: 'tbMarvel/query/' + id,
		headers: {
			userButton: '57e0bf9df45d47b6a11cc6df792b780a'
		},
	})
}

//成果审核
export function marvelAudit(data) {
	return request({
		method: 'post',
		url: 'tbMarvel/audit',
		headers: {
			userButton: '0d73cd4619c0444ca1fe210e58fc1979'
		},
		data
	})
}